﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AmorCanino.Exceptions
{
    public enum BusinessRuleEnum
    {
        RepeatedData = 0,
        DataNotFound = 1
    }

    public class BusinessRuleException : Exception
    {
        public BusinessRuleException(string message) : base(message) { }

        public BusinessRuleEnum ExceptionType { get; set; }
    }
}